package com.sixth.docker.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.sixth.core.entity.Patient;
import com.sixth.core.vo.R;
import com.sixth.docker.vo.PatientVo;

/**
 * @program: sixth-hospital-parent
 * @description:
 * @author: 赵庆龙
 * @create: 2024-08-15 10:42
 **/
public interface PatientService {
    //根据身份证号查询信息
    public R<Patient> selectByCard(String idCard);
    //添加一条数据
    public R<Patient> insert(Patient patient);

    // 更新一条数据
    public R<Patient> update(Patient patient);

    public R<Patient> selectByPatientId(String patientId);

    R<IPage<Patient>> selectByPage(PatientVo patientVo);

    public R<Patient> selectById(String patientId);



}
